<!doctype html>
<html lang="">
<head>
    <meta charset="UTF-8">
    <title>课程选择子系统</title>
    <script src="/static/js/jquery.js"></script>
    <link href="/static/css/font-awesome.css" rel="stylesheet">
    <link href="/static/css/bootstrap.css" rel="stylesheet">
    <link href="/static/css/style-responsive.css" rel="stylesheet">
    <link href="/static/css/default-theme.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">
    <link href="/static/css/bootstrap-reset.css" rel="stylesheet">
</head>
<body class="sticky-header">
<section>
    <div class="sidebar-left">
        <div class="sidebar-left-info">
            <div class=" search-field"> </div>
            <ul class="nav nav-pills nav-stacked side-navigation">
                <li class="menu-list nav-active"> <a href=""><i class="fa fa-drivers-license"></i> <span>学生界面</span></a>
                    <ul class="child-list">
                        <li><a href={%url '培养方案定制'%}>培养方案定制</a></li>
                        <li><a href={%url '课程选择'%}>课程选择</a></li>
                        <li><a href={%url '选课结果-学生'%}>选课结果</a></li>
                    </ul>
                </li>
                <li class="menu-list "> <a href=""><i class="fa fa-file-text"></i> <span>教师界面</span></a>
                    <ul class="child-list">
                        <li><a href={%url '选课结果-教师'%}>选课结果</a></li>
                    </ul>
                </li>
                <li class="menu-list"><a href=""><i class="fa fa-shopping-cart"></i> <span>管理员界面</span></a>
                    <ul class="child-list">
                        <li><a href={%url '选课时间设定'%}>选课时间设定</a></li>
                        <li><a href={%url '学生补选'%}>学生补选</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <div class="body-content" >
        <div class="header-section">
            <div class="logo dark-logo-bg"> <a href={%url 'index'%}> <img src="/static/img/logo-icon.png" alt="">
                <!--<i class="fa fa-maxcdn"></i>-->
                <span class="brand-name" style="font-size: 15px; font-weight: bold;">课程选择子系统</span> </a> </div>
            <div class="icon-logo dark-logo-bg hidden-xs hidden-sm"> <a href={%url 'index'%}><img src="/static/img/logo-icon.png" alt=""> </a> </div>
            <a class="toggle-btn"><i class="fa fa-outdent"></i></a>
            <div class="kouhao">课程选择子系统</div>
            <div class="notification-wrap">
                <div class="right-notification">
                    <ul class="notification-menu">
                        <li  class="dropdown">
                            <a href="javascript:" data-toggle="dropdown" class="dropdown-toggle" aria-expanded="false"> <i class="fa  fa-cogs"></i> 账号设置  <b class=" fa fa-angle-down"></b></a>

                            <ul role="menu" class="dropdown-menu language-switch">
                                <li>
                                    <a  href={%url '修改密码'%}>修改密码</a>
                                </li>

                            </ul>

                        </li>
                        <li  class="dropdown">
                            <a href="javascript:" data-toggle="dropdown" class="dropdown-toggle" aria-expanded="false"> <i class="fa  fa-cogs"></i> 返回主界面  <b class=" fa fa-angle-down"></b></a>

                            <ul role="menu" class="dropdown-menu language-switch">
                                <li>
                                    <a  href="主界面.html">返回主界面</a>
                                </li>

                            </ul>

                        </li>
                        <li> <a href="登录.html" class="btn btn-default  dropdown-toggle"> <i class="fa fa-sign-out"></i>退出登录 </a> </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="page-head">
            <ol class="breadcrumb">
                <li><a href="#">管理员界面</a></li>
                <li  class="active">选课时间设定</li>
            </ol>
            <h4 class="alert alert-success"><strong>一轮开始:</strong>{{data.0.start_date|date:"F j, Y"}}<strong>一轮结束</strong>:{{data.0.end_date|date:"F j, Y"}}</h4>
            <h4 class="alert alert-success"><strong>二轮开始:</strong>{{data.1.start_date|date:"F j, Y"}} <strong>二轮结束</strong>:{{data.1.end_date|date:"F j, Y"}}</h4>
        </div>
        {% if messages %}
            <script>
                {% for msg in messages %}
                    alert('{{ msg.message }}');
                {% endfor %}
            </script>
        {% endif %}
        <div class="wrapper">
            <div class="panel">
                <div class="panel-body">
                    <div class="form1 searchbox">
                        <ul class="row">
                            <li class="col-xs-2"> <span>学年：</span>
                                <form action="" method="post">
                                <label>
                                    <select  class="form-control" name="dropdown">
                                        <option>2019</option>
                                        <option>2020</option>
                                        <option>2021</option>
                                    </select>
                                </label>
                            </li>
                            <li class="col-xs-2"> <span>学期：</span>
                                <label>
                                    <select  class="form-control">
                                        <option>春夏</option>
                                        <option>秋冬</option>
                                    </select>
                                </label>
                            </li>
                        </ul>
                    </div>
                    <table class="table m-t-20">
                        <tbody><tr>
                            <th>选课轮次</th>
                            <th>开始月份</th>
                            <th>开始日期</th>
                            <th>结束月份</th>
                            <th>结束日期</th>
                            <th>操作</th>
                        </tr>
                        <tr>
                            <td>1</td>
                            <form action="" method="post">
                                {% csrf_token %}
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t1m">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t1d">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t2m">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t2d">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    {{ form.as_table }}
                                    <input type="submit" class="btn btn-primary" value="确认一轮" name="first">
                                </td>
                            </form>
                        </tr>
                        <tr>
                            <td>2</td>
                            <form action="" method="post">
                                {% csrf_token %}
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t1m">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t1d">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t2m">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <div class="input-group input-group-sm">
                                        <label>
                                            <input type="text" class="form-control" name="t2d">
                                        </label>
                                    </div>
                                </td>
                                <td>
                                    <input type="submit" class="btn btn-primary" value="确认二轮" name="second">
                                </td>
                            </form>
                        </tr>
                        </tbody></table>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- Modal -->
<script src="/static/js/bootstrap.js"></script>
<script src="/static/js/echarts.min.js"></script>
<script src="/static/js/scripts.js"></script>
<script src="/static/laydate/laydate.js"></script>
</body>
</html>
